package com.vichat.task.service;

import com.vichat.task.entity.CfgTask;
import com.vichat.task.entity.CfgTaskParam;
import com.vichat.task.entity.TaskLog;

import java.util.List;

/**
 * Created by wangluyin on 2017/1/21.
 */
public interface ITaskService {
    public List<CfgTask> getCfgTaskByTaskType(String taskType);

    public CfgTask getCfgTaskById(long taskId);
    public List<CfgTaskParam> getCfgTaskParamById(long taskId);

    public long insertTaskLog(TaskLog taskLog);

    public void updateTaskLog(long taskLogId, String f, String taskResult);

    public void updateCfgTask(CfgTask cfgTask);
}
